﻿@model CarsRegistrationService.Models.ViewModel.LogInViewModel

@{
    ViewBag.Title = "LogIn";
}

<script src="@Url.Content("~/Content/Scripts/System/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Content/Scripts/System/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
    <fieldset>

        <div class="editor-label">
            @Html.LabelFor(model => model.Login)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Login)
            @Html.ValidationMessageFor(model => model.Login)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Password)
        </div>
        <div class="editor-field">
            @Html.PasswordFor(model => model.Password)
            @Html.ValidationMessageFor(model => model.Password)
        </div>
        <br/>
        <div>
            <input type="submit" value="Вход" />
            @*@Html.ActionLink("Регистрация", "Registration")*@
        </div>
    </fieldset>
}